﻿<!DOCTYPE html>
<html>
  <head>
    <title>使用PS2手柄</title>
    <meta http-equiv="X-UA-Compatible" content="IE=edge"/>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <link href="resources/css/jquery-ui-themes.css" type="text/css" rel="stylesheet"/>
    <link href="resources/css/axure_rp_page.css" type="text/css" rel="stylesheet"/>
    <link href="data/styles.css" type="text/css" rel="stylesheet"/>
    <link href="files/使用ps2手柄/styles.css" type="text/css" rel="stylesheet"/>
    <script src="resources/scripts/jquery-1.7.1.min.js"></script>
    <script src="resources/scripts/jquery-ui-1.8.10.custom.min.js"></script>
    <script src="resources/scripts/prototypePre.js"></script>
    <script src="data/document.js"></script>
    <script src="resources/scripts/prototypePost.js"></script>
    <script src="files/使用ps2手柄/data.js"></script>
    <script type="text/javascript">
      $axure.utils.getTransparentGifPath = function() { return 'resources/images/transparent.gif'; };
      $axure.utils.getOtherPath = function() { return 'resources/Other.html'; };
      $axure.utils.getReloadPath = function() { return 'resources/reload.html'; };
    </script>
  </head>
  <body>
    <div id="base" class="">

      <!-- Unnamed (矩形) -->
      <div id="u2132" class="ax_default _一级标题">
        <div id="u2132_div" class=""></div>
        <div id="u2132_text" class="text ">
          <p><span>所需硬件：</span></p>
        </div>
      </div>

      <!-- Unnamed (图片) -->
      <div id="u2133" class="ax_default image">
        <img id="u2133_img" class="img " src="images/使用ps2手柄/u2133.png"/>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u2134" class="ax_default label">
        <div id="u2134_div" class=""></div>
        <div id="u2134_text" class="text ">
          <p><span>PS2无线手柄一副（带接收器）</span></p>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u2135" class="ax_default" data-left="562" data-top="316" data-width="187" data-height="103">

        <!-- Unnamed (形状) -->
        <div id="u2136" class="ax_default box_1">
          <img id="u2136_img" class="img " src="images/使用ps2手柄/u2136.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2137" class="ax_default label">
          <div id="u2137_div" class=""></div>
          <div id="u2137_text" class="text ">
            <p><span>CLK</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2138" class="ax_default label">
          <div id="u2138_div" class=""></div>
          <div id="u2138_text" class="text ">
            <p><span>CS</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2139" class="ax_default label">
          <div id="u2139_div" class=""></div>
          <div id="u2139_text" class="text ">
            <p><span>CMD</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2140" class="ax_default label">
          <div id="u2140_div" class=""></div>
          <div id="u2140_text" class="text ">
            <p><span>DAT</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2141" class="ax_default label">
          <div id="u2141_div" class=""></div>
          <div id="u2141_text" class="text ">
            <p><span>VCC</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2142" class="ax_default label">
          <div id="u2142_div" class=""></div>
          <div id="u2142_text" class="text ">
            <p><span>GND</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2143" class="ax_default box_1">
          <div id="u2143_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2144" class="ax_default box_1">
          <div id="u2144_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2145" class="ax_default box_1">
          <div id="u2145_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2146" class="ax_default box_1">
          <div id="u2146_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2147" class="ax_default box_1">
          <div id="u2147_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2148" class="ax_default box_1">
          <div id="u2148_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2149" class="ax_default box_1">
          <div id="u2149_div" class=""></div>
        </div>

        <!-- Unnamed (组 合) -->
        <div id="u2150" class="ax_default" data-left="570" data-top="337" data-width="50" data-height="20">

          <!-- Unnamed (矩形) -->
          <div id="u2151" class="ax_default box_1">
            <div id="u2151_div" class=""></div>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2152" class="ax_default ellipse">
            <img id="u2152_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2153" class="ax_default ellipse">
            <img id="u2153_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2154" class="ax_default ellipse">
            <img id="u2154_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>
        </div>

        <!-- Unnamed (组 合) -->
        <div id="u2155" class="ax_default" data-left="630" data-top="337" data-width="50" data-height="20">

          <!-- Unnamed (矩形) -->
          <div id="u2156" class="ax_default box_1">
            <div id="u2156_div" class=""></div>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2157" class="ax_default ellipse">
            <img id="u2157_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2158" class="ax_default ellipse">
            <img id="u2158_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2159" class="ax_default ellipse">
            <img id="u2159_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>
        </div>

        <!-- Unnamed (组 合) -->
        <div id="u2160" class="ax_default" data-left="690" data-top="337" data-width="50" data-height="20">

          <!-- Unnamed (矩形) -->
          <div id="u2161" class="ax_default box_1">
            <div id="u2161_div" class=""></div>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2162" class="ax_default ellipse">
            <img id="u2162_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2163" class="ax_default ellipse">
            <img id="u2163_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2164" class="ax_default ellipse">
            <img id="u2164_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2165" class="ax_default label">
          <div id="u2165_div" class=""></div>
          <div id="u2165_text" class="text ">
            <p><span>PS2手柄转接器</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u2166" class="ax_default label">
        <div id="u2166_div" class=""></div>
        <div id="u2166_text" class="text ">
          <p><span>PS2无线手柄转接器（可选，建议使用）</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u2167" class="ax_default _一级标题">
        <div id="u2167_div" class=""></div>
        <div id="u2167_text" class="text ">
          <p><span>硬件接线：</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u2168" class="ax_default _一级标题">
        <div id="u2168_div" class=""></div>
        <div id="u2168_text" class="text ">
          <p><span>示例代码：</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u2169" class="ax_default _文本段落">
        <div id="u2169_div" class=""></div>
        <div id="u2169_text" class="text ">
          <p><span>#include &lt;PS2X_lib.h&gt;</span></p><p><span><br></span></p><p><span>#define CLK&nbsp; 13</span></p><p><span>#define CMD&nbsp; 11</span></p><p><span>#define CS&nbsp;&nbsp; 10</span></p><p><span>#define DAT&nbsp; 12</span></p><p><span>PS2X ps2x;</span></p><p><span><br></span></p><p><span>//right now, the library does NOT support hot-pluggable controllers, meaning</span></p><p><span>//you must always either restart your Arduino after you connect the controller,</span></p><p><span>//or call config_gamepad(pins) again after connecting the controller.</span></p><p><span><br></span></p><p><span>int error = 0;</span></p><p><span>byte type = 0;</span></p><p><span>byte vibrate = 0;</span></p><p><span>int count = 10;</span></p><p><span><br></span></p><p><span>void setup()</span></p><p><span>{</span></p><p><span>&nbsp; Serial.begin(57600);</span></p><p><span><br></span></p><p><span>&nbsp; while (count &gt; 0)</span></p><p><span>&nbsp; {</span></p><p><span>&nbsp;&nbsp;&nbsp; count--;</span></p><p><span>&nbsp;&nbsp;&nbsp; error = ps2x.config_gamepad(CLK, CMD, CS, DAT, true, true); //GamePad(clock, command, attention, data, Pressures?, Rumble?)</span></p><p><span>&nbsp;&nbsp;&nbsp; if (error == 0)</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Found Controller, configured successful&quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Try out all the buttons, X will vibrate the controller, faster as you press harder;&quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;holding L1 or R1 will print out the analog stick values.&quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Go to www.billporter.info for updates and to report bugs.&quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; break;</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (error == 1)</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;No controller found, check wiring, see readme.txt to enable debug. visit www.billporter.info for troubleshooting tips&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (error == 2)</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Controller found but not accepting commands. see readme.txt to enable debug. Visit www.billporter.info for troubleshooting tips&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (error == 3)</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Controller refusing to enter Pressures mode, may not support it. &quot;);</span></p><p><span><br></span></p><p><span>&nbsp;&nbsp;&nbsp; delay(100);</span></p><p><span>&nbsp; }</span></p><p><span><br></span></p><p><span>&nbsp; type = ps2x.readType();</span></p><p><span>&nbsp; switch (type)</span></p><p><span>&nbsp; {</span></p><p><span>&nbsp; case 0:</span></p><p><span>&nbsp;&nbsp;&nbsp; Serial.println(&quot;Unknown Controller type&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; break;</span></p><p><span>&nbsp; case 1:</span></p><p><span>&nbsp;&nbsp;&nbsp; Serial.println(&quot;DualShock Controller Found&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; break;</span></p><p><span>&nbsp; case 2:</span></p><p><span>&nbsp;&nbsp;&nbsp; Serial.println(&quot;GuitarHero Controller Found&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; break;</span></p><p><span>&nbsp; }</span></p><p><span>}</span></p><p><span><br></span></p><p><span>void loop()</span></p><p><span>{</span></p><p><span>&nbsp; /* You must Read Gamepad to get new values</span></p><p><span>&nbsp;&nbsp; &nbsp; &nbsp; Read GamePad and set vibration values</span></p><p><span>&nbsp;&nbsp; &nbsp; &nbsp; ps2x.read_gamepad(small motor on/off, larger motor strenght from 0-255)</span></p><p><span>&nbsp;&nbsp; &nbsp; &nbsp; if you don't enable the rumble, use ps2x.read_gamepad(); with no values</span></p><p><span>&nbsp;&nbsp; &nbsp; &nbsp; </span></p><p><span>&nbsp;&nbsp; &nbsp; &nbsp; you should call this at least once a second</span></p><p><span>&nbsp;&nbsp; &nbsp; &nbsp; */</span></p><p><span><br></span></p><p><span>&nbsp; if (error == 1)</span></p><p><span>&nbsp;&nbsp;&nbsp; return;</span></p><p><span><br></span></p><p><span>&nbsp; if (type == 2)</span></p><p><span>&nbsp; {</span></p><p><span><br></span></p><p><span>&nbsp;&nbsp;&nbsp; ps2x.read_gamepad(); //read controller</span></p><p><span><br></span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.ButtonPressed(GREEN_FRET))</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Green Fret Pressed&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.ButtonPressed(RED_FRET))</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Red Fret Pressed&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.ButtonPressed(YELLOW_FRET))</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Yellow Fret Pressed&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.ButtonPressed(BLUE_FRET))</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Blue Fret Pressed&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.ButtonPressed(ORANGE_FRET))</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Orange Fret Pressed&quot;);</span></p><p><span><br></span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.ButtonPressed(STAR_POWER))</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Star Power Command&quot;);</span></p><p><span><br></span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.Button(UP_STRUM)) //will be TRUE as long as button is pressed</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Up Strum&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.Button(DOWN_STRUM))</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;DOWN Strum&quot;);</span></p><p><span><br></span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.Button(PSB_START)) //will be TRUE as long as button is pressed</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Start is being held&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.Button(PSB_SELECT))</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Select is being held&quot;);</span></p><p><span><br></span></p><p><span>&nbsp;&nbsp;&nbsp; if (ps2x.Button(ORANGE_FRET)) // print stick value IF TRUE</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;Wammy Bar Position:&quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(WHAMMY_BAR), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp; }</span></p><p><span><br></span></p><p><span>&nbsp; else</span></p><p><span>&nbsp; {&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; //DualShock Controller</span></p><p><span>&nbsp;&nbsp;&nbsp; ps2x.read_gamepad(false, vibrate); //read controller and set large motor to spin at 'vibrate' speed</span></p><p><span><br></span></p><p><span>&nbsp;&nbsp;&nbsp; if(ps2x.Button(PSB_START)) //will be TRUE as long as button is pressed</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Start is being held&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_SELECT))</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Select is being held&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_SELECT))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(&quot;Select is being held&quot;);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_PAD_UP))</span></p><p><span>&nbsp;&nbsp;&nbsp; { //will be TRUE as long as button is pressed</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;Up held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSAB_PAD_UP), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_PAD_RIGHT))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;Right held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSAB_PAD_RIGHT), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_PAD_LEFT))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;LEFT held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSAB_PAD_LEFT), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_PAD_DOWN))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;DOWN held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSAB_PAD_DOWN), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_RED))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;Circle held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_RED), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_PINK))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;Square held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_PINK), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_BLUE))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;X held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_BLUE), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_GREEN))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;Triangle held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_GREEN), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_L3))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;L3 held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_L3), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_L2))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;L2 held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_L2), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_L1))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;L1 held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_L1), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_R3))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;R3 held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_R3), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_R2))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;R2 held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_R2), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp;&nbsp;&nbsp; else if (ps2x.Button(PSB_R1))</span></p><p><span>&nbsp;&nbsp;&nbsp; {</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.print(&quot;R1 held this hard: &quot;);</span></p><p><span>&nbsp;&nbsp; &nbsp;&nbsp; Serial.println(ps2x.Analog(PSB_R1), DEC);</span></p><p><span>&nbsp;&nbsp;&nbsp; }</span></p><p><span>&nbsp; }</span></p><p><span><br></span></p><p><span>&nbsp; delay(50);</span></p><p><span>}</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u2170" class="ax_default _一级标题">
        <div id="u2170_div" class=""></div>
        <div id="u2170_text" class="text ">
          <p><span>运行结果：</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u2171" class="ax_default label">
        <div id="u2171_div" class=""></div>
        <div id="u2171_text" class="text ">
          <p><span>打开串口监视器</span></p>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u2172" class="ax_default label">
        <div id="u2172_div" class=""></div>
        <div id="u2172_text" class="text ">
          <p><span>代码需要安装</span><span>PS2X_lib库，点击查看安装教程</span></p>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u2173" class="ax_default" data-left="263" data-top="932" data-width="283" data-height="391">

        <!-- Unnamed (矩形) -->
        <div id="u2174" class="ax_default box_1">
          <div id="u2174_div" class=""></div>
          <div id="u2174_text" class="text ">
            <p><span>Arduino </span></p><p><span>UNO</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2175" class="ax_default box_1">
          <div id="u2175_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2176" class="ax_default box_1">
          <div id="u2176_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2177" class="ax_default box_1">
          <div id="u2177_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2178" class="ax_default box_1">
          <div id="u2178_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2179" class="ax_default box_1">
          <div id="u2179_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2180" class="ax_default box_1">
          <div id="u2180_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2181" class="ax_default box_1">
          <div id="u2181_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2182" class="ax_default box_1">
          <div id="u2182_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2183" class="ax_default label">
          <div id="u2183_div" class=""></div>
          <div id="u2183_text" class="text ">
            <p><span>SCL</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2184" class="ax_default box_1">
          <div id="u2184_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2185" class="ax_default label">
          <div id="u2185_div" class=""></div>
          <div id="u2185_text" class="text ">
            <p><span>SDA</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2186" class="ax_default box_1">
          <div id="u2186_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2187" class="ax_default label">
          <div id="u2187_div" class=""></div>
          <div id="u2187_text" class="text ">
            <p><span>AREF</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2188" class="ax_default box_1">
          <div id="u2188_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2189" class="ax_default label">
          <div id="u2189_div" class=""></div>
          <div id="u2189_text" class="text ">
            <p><span>GND</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2190" class="ax_default box_1">
          <div id="u2190_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2191" class="ax_default label">
          <div id="u2191_div" class=""></div>
          <div id="u2191_text" class="text ">
            <p><span>13</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2192" class="ax_default box_1">
          <div id="u2192_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2193" class="ax_default label">
          <div id="u2193_div" class=""></div>
          <div id="u2193_text" class="text ">
            <p><span>12</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2194" class="ax_default box_1">
          <div id="u2194_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2195" class="ax_default label">
          <div id="u2195_div" class=""></div>
          <div id="u2195_text" class="text ">
            <p><span>~11</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2196" class="ax_default box_1">
          <div id="u2196_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2197" class="ax_default label">
          <div id="u2197_div" class=""></div>
          <div id="u2197_text" class="text ">
            <p><span>~10</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2198" class="ax_default box_1">
          <div id="u2198_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2199" class="ax_default label">
          <div id="u2199_div" class=""></div>
          <div id="u2199_text" class="text ">
            <p><span>~9</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2200" class="ax_default box_1">
          <div id="u2200_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2201" class="ax_default label">
          <div id="u2201_div" class=""></div>
          <div id="u2201_text" class="text ">
            <p><span>8</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2202" class="ax_default box_1">
          <div id="u2202_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2203" class="ax_default label">
          <div id="u2203_div" class=""></div>
          <div id="u2203_text" class="text ">
            <p><span>7</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2204" class="ax_default box_1">
          <div id="u2204_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2205" class="ax_default label">
          <div id="u2205_div" class=""></div>
          <div id="u2205_text" class="text ">
            <p><span>~6</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2206" class="ax_default box_1">
          <div id="u2206_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2207" class="ax_default label">
          <div id="u2207_div" class=""></div>
          <div id="u2207_text" class="text ">
            <p><span>~5</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2208" class="ax_default box_1">
          <div id="u2208_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2209" class="ax_default label">
          <div id="u2209_div" class=""></div>
          <div id="u2209_text" class="text ">
            <p><span>4</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2210" class="ax_default box_1">
          <div id="u2210_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2211" class="ax_default label">
          <div id="u2211_div" class=""></div>
          <div id="u2211_text" class="text ">
            <p><span>~3</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2212" class="ax_default box_1">
          <div id="u2212_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2213" class="ax_default label">
          <div id="u2213_div" class=""></div>
          <div id="u2213_text" class="text ">
            <p><span>2</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2214" class="ax_default box_1">
          <div id="u2214_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2215" class="ax_default label">
          <div id="u2215_div" class=""></div>
          <div id="u2215_text" class="text ">
            <p style="font-size:7px;"><span style="font-size:10px;">TX</span><span>→</span><span style="font-size:10px;">1</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2216" class="ax_default box_1">
          <div id="u2216_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2217" class="ax_default label">
          <div id="u2217_div" class=""></div>
          <div id="u2217_text" class="text ">
            <p style="font-size:7px;"><span style="font-size:10px;">RX</span><span>→</span><span style="font-size:10px;">0</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2218" class="ax_default label">
          <div id="u2218_div" class=""></div>
          <div id="u2218_text" class="text ">
            <p><span>NOT USED</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2219" class="ax_default box_1">
          <div id="u2219_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2220" class="ax_default label">
          <div id="u2220_div" class=""></div>
          <div id="u2220_text" class="text ">
            <p><span>IOREF</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2221" class="ax_default box_1">
          <div id="u2221_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2222" class="ax_default label">
          <div id="u2222_div" class=""></div>
          <div id="u2222_text" class="text ">
            <p><span>RESET</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2223" class="ax_default box_1">
          <div id="u2223_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2224" class="ax_default label">
          <div id="u2224_div" class=""></div>
          <div id="u2224_text" class="text ">
            <p><span>3.3V</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2225" class="ax_default box_1">
          <div id="u2225_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2226" class="ax_default label">
          <div id="u2226_div" class=""></div>
          <div id="u2226_text" class="text ">
            <p><span>5V</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2227" class="ax_default box_1">
          <div id="u2227_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2228" class="ax_default label">
          <div id="u2228_div" class=""></div>
          <div id="u2228_text" class="text ">
            <p><span>GND</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2229" class="ax_default box_1">
          <div id="u2229_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2230" class="ax_default label">
          <div id="u2230_div" class=""></div>
          <div id="u2230_text" class="text ">
            <p><span>GND</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2231" class="ax_default box_1">
          <div id="u2231_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2232" class="ax_default label">
          <div id="u2232_div" class=""></div>
          <div id="u2232_text" class="text ">
            <p><span>VIN</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2233" class="ax_default box_1">
          <div id="u2233_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2234" class="ax_default label">
          <div id="u2234_div" class=""></div>
          <div id="u2234_text" class="text ">
            <p><span>A0</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2235" class="ax_default box_1">
          <div id="u2235_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2236" class="ax_default label">
          <div id="u2236_div" class=""></div>
          <div id="u2236_text" class="text ">
            <p><span>A1</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2237" class="ax_default box_1">
          <div id="u2237_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2238" class="ax_default label">
          <div id="u2238_div" class=""></div>
          <div id="u2238_text" class="text ">
            <p><span>A2</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2239" class="ax_default box_1">
          <div id="u2239_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2240" class="ax_default label">
          <div id="u2240_div" class=""></div>
          <div id="u2240_text" class="text ">
            <p><span>A3</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2241" class="ax_default box_1">
          <div id="u2241_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2242" class="ax_default label">
          <div id="u2242_div" class=""></div>
          <div id="u2242_text" class="text ">
            <p><span>A4</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2243" class="ax_default box_1">
          <div id="u2243_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2244" class="ax_default label">
          <div id="u2244_div" class=""></div>
          <div id="u2244_text" class="text ">
            <p><span>A5</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2245" class="ax_default box_1">
          <div id="u2245_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2246" class="ax_default box_1">
          <div id="u2246_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2247" class="ax_default ellipse">
          <img id="u2247_img" class="img " src="images/四角开关/u137.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2248" class="ax_default ellipse">
          <img id="u2248_img" class="img " src="images/四角开关/u137.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2249" class="ax_default box_1">
          <div id="u2249_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2250" class="ax_default box_1">
          <div id="u2250_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2251" class="ax_default ellipse">
          <img id="u2251_img" class="img " src="images/四角开关/u141.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2252" class="ax_default ellipse">
          <img id="u2252_img" class="img " src="images/四角开关/u141.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2253" class="ax_default box_1">
          <div id="u2253_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2254" class="ax_default box_1">
          <div id="u2254_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2255" class="ax_default box_1">
          <div id="u2255_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2256" class="ax_default box_1">
          <div id="u2256_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2257" class="ax_default box_1">
          <div id="u2257_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2258" class="ax_default box_1">
          <div id="u2258_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2259" class="ax_default box_1">
          <div id="u2259_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2260" class="ax_default box_1">
          <div id="u2260_div" class=""></div>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2261" class="ax_default ellipse">
          <img id="u2261_img" class="img " src="images/四角开关/u151.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2262" class="ax_default ellipse">
          <img id="u2262_img" class="img " src="images/四角开关/u151.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2263" class="ax_default ellipse">
          <img id="u2263_img" class="img " src="images/四角开关/u151.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2264" class="ax_default ellipse">
          <img id="u2264_img" class="img " src="images/四角开关/u151.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2265" class="ax_default box_1">
          <div id="u2265_div" class=""></div>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2266" class="ax_default line">
          <img id="u2266_img" class="img " src="images/四角开关/u156.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2267" class="ax_default box_1">
          <div id="u2267_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2268" class="ax_default box_1">
          <div id="u2268_div" class=""></div>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2269" class="ax_default line">
          <img id="u2269_img" class="img " src="images/四角开关/u156.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2270" class="ax_default line">
          <img id="u2270_img" class="img " src="images/四角开关/u156.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2271" class="ax_default box_1">
          <div id="u2271_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2272" class="ax_default box_1">
          <div id="u2272_div" class=""></div>
        </div>

        <!-- Unnamed (水平线) -->
        <div id="u2273" class="ax_default line">
          <img id="u2273_img" class="img " src="images/四角开关/u163.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2274" class="ax_default ellipse">
          <img id="u2274_img" class="img " src="images/四角开关/u164.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2275" class="ax_default ellipse">
          <img id="u2275_img" class="img " src="images/四角开关/u164.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2276" class="ax_default ellipse">
          <img id="u2276_img" class="img " src="images/四角开关/u164.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2277" class="ax_default ellipse">
          <img id="u2277_img" class="img " src="images/四角开关/u164.png"/>
        </div>

        <!-- Unnamed (椭圆形) -->
        <div id="u2278" class="ax_default ellipse">
          <img id="u2278_img" class="img " src="images/四角开关/u168.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2279" class="ax_default line">
          <img id="u2279_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2280" class="ax_default line">
          <img id="u2280_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2281" class="ax_default line">
          <img id="u2281_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2282" class="ax_default line">
          <img id="u2282_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2283" class="ax_default line">
          <img id="u2283_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2284" class="ax_default line">
          <img id="u2284_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2285" class="ax_default line">
          <img id="u2285_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2286" class="ax_default line">
          <img id="u2286_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2287" class="ax_default line">
          <img id="u2287_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2288" class="ax_default line">
          <img id="u2288_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2289" class="ax_default line">
          <img id="u2289_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2290" class="ax_default line">
          <img id="u2290_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2291" class="ax_default line">
          <img id="u2291_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2292" class="ax_default line">
          <img id="u2292_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2293" class="ax_default line">
          <img id="u2293_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2294" class="ax_default line">
          <img id="u2294_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2295" class="ax_default line">
          <img id="u2295_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2296" class="ax_default line">
          <img id="u2296_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2297" class="ax_default line">
          <img id="u2297_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2298" class="ax_default line">
          <img id="u2298_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2299" class="ax_default line">
          <img id="u2299_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2300" class="ax_default line">
          <img id="u2300_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2301" class="ax_default line">
          <img id="u2301_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2302" class="ax_default line">
          <img id="u2302_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2303" class="ax_default line">
          <img id="u2303_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (垂直线) -->
        <div id="u2304" class="ax_default line">
          <img id="u2304_img" class="img " src="images/四角开关/u169.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2305" class="ax_default box_1">
          <div id="u2305_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2306" class="ax_default box_1">
          <div id="u2306_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2307" class="ax_default box_1">
          <div id="u2307_div" class=""></div>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u2308" class="ax_default" data-left="50" data-top="654" data-width="218" data-height="204">

        <!-- Unnamed (矩形) -->
        <div id="u2309" class="ax_default box_1">
          <div id="u2309_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2310" class="ax_default box_1">
          <div id="u2310_div" class=""></div>
        </div>

        <!-- Unnamed (形状) -->
        <div id="u2311" class="ax_default label">
          <img id="u2311_img" class="img " src="images/使用ps2手柄/u2311.png"/>
          <div id="u2311_text" class="text ">
            <p><span>PS2</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2312" class="ax_default label">
          <div id="u2312_div" class=""></div>
          <div id="u2312_text" class="text ">
            <p><span>无线手柄接收器</span></p>
          </div>
        </div>

        <!-- Unnamed (组 合) -->
        <div id="u2313" class="ax_default" data-left="66" data-top="816" data-width="187" data-height="35">

          <!-- Unnamed (矩形) -->
          <div id="u2314" class="ax_default box_1">
            <div id="u2314_div" class=""></div>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2315" class="ax_default ellipse">
            <img id="u2315_img" class="img " src="images/使用ps2手柄/u2315.png"/>
          </div>

          <!-- Unnamed (垂直线) -->
          <div id="u2316" class="ax_default line">
            <img id="u2316_img" class="img " src="images/使用ps2手柄/u2316.png"/>
          </div>

          <!-- Unnamed (垂直线) -->
          <div id="u2317" class="ax_default line">
            <img id="u2317_img" class="img " src="images/使用ps2手柄/u2316.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2318" class="ax_default ellipse">
            <img id="u2318_img" class="img " src="images/使用ps2手柄/u2315.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2319" class="ax_default ellipse">
            <img id="u2319_img" class="img " src="images/使用ps2手柄/u2315.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2320" class="ax_default ellipse">
            <img id="u2320_img" class="img " src="images/使用ps2手柄/u2315.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2321" class="ax_default ellipse">
            <img id="u2321_img" class="img " src="images/使用ps2手柄/u2315.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2322" class="ax_default ellipse">
            <img id="u2322_img" class="img " src="images/使用ps2手柄/u2315.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2323" class="ax_default ellipse">
            <img id="u2323_img" class="img " src="images/使用ps2手柄/u2315.png"/>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u2324" class="ax_default label">
            <div id="u2324_div" class=""></div>
            <div id="u2324_text" class="text ">
              <p><span>DAT</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u2325" class="ax_default label">
            <div id="u2325_div" class=""></div>
            <div id="u2325_text" class="text ">
              <p><span>CMD</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u2326" class="ax_default label">
            <div id="u2326_div" class=""></div>
            <div id="u2326_text" class="text ">
              <p><span>GND</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u2327" class="ax_default label">
            <div id="u2327_div" class=""></div>
            <div id="u2327_text" class="text ">
              <p><span>VCC</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u2328" class="ax_default label">
            <div id="u2328_div" class=""></div>
            <div id="u2328_text" class="text ">
              <p><span>CLK</span></p>
            </div>
          </div>

          <!-- Unnamed (矩形) -->
          <div id="u2329" class="ax_default label">
            <div id="u2329_div" class=""></div>
            <div id="u2329_text" class="text ">
              <p><span>CS</span></p>
            </div>
          </div>
        </div>
      </div>

      <!-- Unnamed (组 合) -->
      <div id="u2330" class="ax_default" data-left="320" data-top="755" data-width="187" data-height="103">

        <!-- Unnamed (形状) -->
        <div id="u2331" class="ax_default box_1">
          <img id="u2331_img" class="img " src="images/使用ps2手柄/u2136.png"/>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2332" class="ax_default label">
          <div id="u2332_div" class=""></div>
          <div id="u2332_text" class="text ">
            <p><span>CLK</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2333" class="ax_default label">
          <div id="u2333_div" class=""></div>
          <div id="u2333_text" class="text ">
            <p><span>CS</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2334" class="ax_default label">
          <div id="u2334_div" class=""></div>
          <div id="u2334_text" class="text ">
            <p><span>CMD</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2335" class="ax_default label">
          <div id="u2335_div" class=""></div>
          <div id="u2335_text" class="text ">
            <p><span>DAT</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2336" class="ax_default label">
          <div id="u2336_div" class=""></div>
          <div id="u2336_text" class="text ">
            <p><span>VCC</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2337" class="ax_default label">
          <div id="u2337_div" class=""></div>
          <div id="u2337_text" class="text ">
            <p><span>GND</span></p>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2338" class="ax_default box_1">
          <div id="u2338_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2339" class="ax_default box_1">
          <div id="u2339_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2340" class="ax_default box_1">
          <div id="u2340_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2341" class="ax_default box_1">
          <div id="u2341_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2342" class="ax_default box_1">
          <div id="u2342_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2343" class="ax_default box_1">
          <div id="u2343_div" class=""></div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2344" class="ax_default box_1">
          <div id="u2344_div" class=""></div>
        </div>

        <!-- Unnamed (组 合) -->
        <div id="u2345" class="ax_default" data-left="328" data-top="776" data-width="50" data-height="20">

          <!-- Unnamed (矩形) -->
          <div id="u2346" class="ax_default box_1">
            <div id="u2346_div" class=""></div>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2347" class="ax_default ellipse">
            <img id="u2347_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2348" class="ax_default ellipse">
            <img id="u2348_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2349" class="ax_default ellipse">
            <img id="u2349_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>
        </div>

        <!-- Unnamed (组 合) -->
        <div id="u2350" class="ax_default" data-left="388" data-top="776" data-width="50" data-height="20">

          <!-- Unnamed (矩形) -->
          <div id="u2351" class="ax_default box_1">
            <div id="u2351_div" class=""></div>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2352" class="ax_default ellipse">
            <img id="u2352_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2353" class="ax_default ellipse">
            <img id="u2353_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2354" class="ax_default ellipse">
            <img id="u2354_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>
        </div>

        <!-- Unnamed (组 合) -->
        <div id="u2355" class="ax_default" data-left="448" data-top="776" data-width="50" data-height="20">

          <!-- Unnamed (矩形) -->
          <div id="u2356" class="ax_default box_1">
            <div id="u2356_div" class=""></div>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2357" class="ax_default ellipse">
            <img id="u2357_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2358" class="ax_default ellipse">
            <img id="u2358_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>

          <!-- Unnamed (椭圆形) -->
          <div id="u2359" class="ax_default ellipse">
            <img id="u2359_img" class="img " src="images/使用ps2手柄/u2152.png"/>
          </div>
        </div>

        <!-- Unnamed (矩形) -->
        <div id="u2360" class="ax_default label">
          <div id="u2360_div" class=""></div>
          <div id="u2360_text" class="text ">
            <p><span>PS2手柄转接器</span></p>
          </div>
        </div>
      </div>

      <!-- Unnamed (矩形) -->
      <div id="u2361" class="ax_default _文本段落">
        <div id="u2361_div" class=""></div>
        <div id="u2361_text" class="text ">
          <p><span style="font-family:'Arial Negreta', 'Arial Normal', 'Arial';font-weight:700;">Tips:</span></p><p><span style="font-family:'Arial Normal', 'Arial';font-weight:400;">如果没有转接器就直接对照手柄接收器的针脚接线。</span></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u2362" class="ax_default _连接线">
        <img id="u2362_seg0" class="img " src="images/使用ps2手柄/u2362_seg0.png" alt="u2362_seg0"/>
        <img id="u2362_seg1" class="img " src="images/使用ps2手柄/u2362_seg1.png" alt="u2362_seg1"/>
        <img id="u2362_seg2" class="img " src="images/使用ps2手柄/u2362_seg2.png" alt="u2362_seg2"/>
        <img id="u2362_seg3" class="img " src="images/使用ps2手柄/u2362_seg3.png" alt="u2362_seg3"/>
        <div id="u2362_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u2363" class="ax_default _连接线">
        <img id="u2363_seg0" class="img " src="images/使用ps2手柄/u2363_seg0.png" alt="u2363_seg0"/>
        <img id="u2363_seg1" class="img " src="images/使用ps2手柄/u2363_seg1.png" alt="u2363_seg1"/>
        <img id="u2363_seg2" class="img " src="images/使用ps2手柄/u2363_seg2.png" alt="u2363_seg2"/>
        <img id="u2363_seg3" class="img " src="images/使用ps2手柄/u2363_seg3.png" alt="u2363_seg3"/>
        <div id="u2363_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u2364" class="ax_default _连接线">
        <img id="u2364_seg0" class="img " src="images/使用ps2手柄/u2364_seg0.png" alt="u2364_seg0"/>
        <img id="u2364_seg1" class="img " src="images/使用ps2手柄/u2364_seg1.png" alt="u2364_seg1"/>
        <img id="u2364_seg2" class="img " src="images/使用ps2手柄/u2364_seg2.png" alt="u2364_seg2"/>
        <img id="u2364_seg3" class="img " src="images/使用ps2手柄/u2364_seg3.png" alt="u2364_seg3"/>
        <div id="u2364_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u2365" class="ax_default _连接线">
        <img id="u2365_seg0" class="img " src="images/使用ps2手柄/u2365_seg0.png" alt="u2365_seg0"/>
        <img id="u2365_seg1" class="img " src="images/使用ps2手柄/u2365_seg1.png" alt="u2365_seg1"/>
        <img id="u2365_seg2" class="img " src="images/使用ps2手柄/u2365_seg2.png" alt="u2365_seg2"/>
        <img id="u2365_seg3" class="img " src="images/使用ps2手柄/u2365_seg3.png" alt="u2365_seg3"/>
        <div id="u2365_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u2366" class="ax_default _连接线">
        <img id="u2366_seg0" class="img " src="images/使用ps2手柄/u2366_seg0.png" alt="u2366_seg0"/>
        <img id="u2366_seg1" class="img " src="images/使用ps2手柄/u2366_seg1.png" alt="u2366_seg1"/>
        <img id="u2366_seg2" class="img " src="images/使用ps2手柄/u2366_seg2.png" alt="u2366_seg2"/>
        <img id="u2366_seg3" class="img " src="images/使用ps2手柄/u2366_seg3.png" alt="u2366_seg3"/>
        <div id="u2366_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (连接线) -->
      <div id="u2367" class="ax_default _连接线">
        <img id="u2367_seg0" class="img " src="images/使用ps2手柄/u2367_seg0.png" alt="u2367_seg0"/>
        <img id="u2367_seg1" class="img " src="images/使用ps2手柄/u2367_seg1.png" alt="u2367_seg1"/>
        <img id="u2367_seg2" class="img " src="images/使用ps2手柄/u2367_seg2.png" alt="u2367_seg2"/>
        <img id="u2367_seg3" class="img " src="images/使用ps2手柄/u2367_seg3.png" alt="u2367_seg3"/>
        <div id="u2367_text" class="text " style="display:none; visibility: hidden">
          <p></p>
        </div>
      </div>

      <!-- Unnamed (图片) -->
      <div id="u2368" class="ax_default image">
        <img id="u2368_img" class="img " src="images/使用ps2手柄/u2368.png"/>
      </div>
    </div>
  </body>
</html>
